#ifndef LINE_H_
#define LINE_H_

#include "BearFactory.h"
#include "LineBear.h"

class Line 
	: public LineBear
{
public:
	Line()
	{
		//DOES NOTHING
	}
	virtual ~Line()
	{
		//DOES NOTHING
	}
};

class LineFactory 
	: public BBFactory 
{ 
public:
	LineFactory()
	{
		//REGISTER_FACTORY( Point);
		BearFactory::instance()->registerFactory( "Line", this );
	}
	~LineFactory()
	{
		//DOES NOTHING
	}

	virtual Bear* instance() const 
	{
		return new Line();
	}
};

Q_DECLARE_METATYPE( Line );

#endif

